return {
  "iamcco/markdown-preview.nvim",
  cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
  build = function()
    require("lazy").load({ plugins = { "markdown-preview.nvim" } })
    vim.fn["mkdp#util#install"]()
  end,
  keys = {
    {
      "<leader>cp",
      ft = "markdown",
      "<cmd>MarkdownPreviewToggle<cr>",
      desc = "Markdown Preview",
    },
  },
  config = function()
    vim.cmd([[do FileType]])
    vim.g.mkdp_port = "8888" -- 固定端口为8888
    vim.g.mkdp_open_to_the_world = 0 -- 仅限本地访问
    vim.g.mkdp_auto_start = 0 -- 禁用自动启动
    vim.g.mkdp_auto_close = 1 -- 切换buffer时自动关闭
    --vim.g.mkdp_theme = "dark" -- 暗色主题
  end,
}
